<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Flow: flow::perf::Time_pt_set Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Flow<span id="projectnumber">&#160;2.0.0</span>
   </div>
   <div id="projectbrief">Flow project: Full implementation reference.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceflow.html">flow</a></li><li class="navelem"><a class="el" href="namespaceflow_1_1perf.html">perf</a></li><li class="navelem"><a class="el" href="structflow_1_1perf_1_1Time__pt__set.html">Time_pt_set</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="structflow_1_1perf_1_1Time__pt__set-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">flow::perf::Time_pt_set Struct Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Convenience wrapper around an <code>array&lt;Time_pt, N&gt;</code>, which stores a time point for each of the N possible clock types in <a class="el" href="namespaceflow_1_1perf.html#ad61fb186191e4bb824d14601d11a2eb0" title="Clock types supported by flow::perf module facilities, perf::Checkpointing_timer in particular.">perf::Clock_type</a>.  
 <a href="structflow_1_1perf_1_1Time__pt__set.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="clock__type__fwd_8hpp_source.html">clock_type_fwd.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for flow::perf::Time_pt_set:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="structflow_1_1perf_1_1Time__pt__set__coll__graph.svg" width="156" height="227"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a9867f05832f22c6aceb340c0ba697dbc"><td class="memItemLeft" align="right" valign="top">std::array&lt; <a class="el" href="namespaceflow_1_1perf.html#ace5f154155a7d9d5c112c1a83aa04fb5">Time_pt</a>, size_t(<a class="el" href="namespaceflow_1_1perf.html#ad61fb186191e4bb824d14601d11a2eb0a6fba12db09e5bebfaa04f6372c41c2cf">Clock_type::S_END_SENTINEL</a>)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structflow_1_1perf_1_1Time__pt__set.html#a9867f05832f22c6aceb340c0ba697dbc">m_values</a></td></tr>
<tr class="memdesc:a9867f05832f22c6aceb340c0ba697dbc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The underlying data, directly readable and writable by user. NOT ZERO-INITIALIZED ON CONSTRUCTION (or ever).  <a href="structflow_1_1perf_1_1Time__pt__set.html#a9867f05832f22c6aceb340c0ba697dbc">More...</a><br /></td></tr>
<tr class="separator:a9867f05832f22c6aceb340c0ba697dbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="related" name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p >(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:af4b93cb0638c3d0bcfcf36903f0a3e46"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structflow_1_1perf_1_1Duration__set.html">Duration_set</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structflow_1_1perf_1_1Time__pt__set.html#af4b93cb0638c3d0bcfcf36903f0a3e46">operator-</a> (const <a class="el" href="structflow_1_1perf_1_1Time__pt__set.html">Time_pt_set</a> &amp;to, const <a class="el" href="structflow_1_1perf_1_1Time__pt__set.html">Time_pt_set</a> &amp;from)</td></tr>
<tr class="memdesc:af4b93cb0638c3d0bcfcf36903f0a3e46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a <a class="el" href="structflow_1_1perf_1_1Duration__set.html" title="Convenience wrapper around an array&lt;Duration, N&gt;, which stores a duration for each of the N possible ...">Duration_set</a> representing the time that passed since <code>from</code> to <code>to</code> (negative if <code>to</code> happened earlier), for each <code>Clock_type</code> stored.  <a href="structflow_1_1perf_1_1Time__pt__set.html#af4b93cb0638c3d0bcfcf36903f0a3e46">More...</a><br /></td></tr>
<tr class="separator:af4b93cb0638c3d0bcfcf36903f0a3e46"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Convenience wrapper around an <code>array&lt;Time_pt, N&gt;</code>, which stores a time point for each of the N possible clock types in <a class="el" href="namespaceflow_1_1perf.html#ad61fb186191e4bb824d14601d11a2eb0" title="Clock types supported by flow::perf module facilities, perf::Checkpointing_timer in particular.">perf::Clock_type</a>. </p>
<p >All discussion on <a class="el" href="structflow_1_1perf_1_1Duration__set.html" title="Convenience wrapper around an array&lt;Duration, N&gt;, which stores a duration for each of the N possible ...">Duration_set</a> applies here equally. </p>

<p class="definition">Definition at line <a class="el" href="clock__type__fwd_8hpp_source.html#l00195">195</a> of file <a class="el" href="clock__type__fwd_8hpp_source.html">clock_type_fwd.hpp</a>.</p>
</div><h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="af4b93cb0638c3d0bcfcf36903f0a3e46" name="af4b93cb0638c3d0bcfcf36903f0a3e46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4b93cb0638c3d0bcfcf36903f0a3e46">&#9670;&nbsp;</a></span>operator-()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structflow_1_1perf_1_1Duration__set.html">Duration_set</a> operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structflow_1_1perf_1_1Time__pt__set.html">Time_pt_set</a> &amp;&#160;</td>
          <td class="paramname"><em>to</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structflow_1_1perf_1_1Time__pt__set.html">Time_pt_set</a> &amp;&#160;</td>
          <td class="paramname"><em>from</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a <a class="el" href="structflow_1_1perf_1_1Duration__set.html" title="Convenience wrapper around an array&lt;Duration, N&gt;, which stores a duration for each of the N possible ...">Duration_set</a> representing the time that passed since <code>from</code> to <code>to</code> (negative if <code>to</code> happened earlier), for each <code>Clock_type</code> stored. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">to</td><td>The minuend set of time points. </td></tr>
    <tr><td class="paramname">from</td><td>The subtrahend set of time points. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>See above. </dd></dl>

<p class="definition">Definition at line <a class="el" href="clock__type_8cpp_source.html#l00026">26</a> of file <a class="el" href="clock__type_8cpp_source.html">clock_type.cpp</a>.</p>

<p class="reference">References <a class="el" href="clock__type__fwd_8hpp_source.html#l00188">flow::perf::Duration_set::m_values</a>, and <a class="el" href="clock__type__fwd_8hpp_source.html#l00198">m_values</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a9867f05832f22c6aceb340c0ba697dbc" name="a9867f05832f22c6aceb340c0ba697dbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9867f05832f22c6aceb340c0ba697dbc">&#9670;&nbsp;</a></span>m_values</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::array&lt;<a class="el" href="namespaceflow_1_1perf.html#ace5f154155a7d9d5c112c1a83aa04fb5">Time_pt</a>, size_t(<a class="el" href="namespaceflow_1_1perf.html#ad61fb186191e4bb824d14601d11a2eb0a6fba12db09e5bebfaa04f6372c41c2cf">Clock_type::S_END_SENTINEL</a>)&gt; flow::perf::Time_pt_set::m_values</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The underlying data, directly readable and writable by user. NOT ZERO-INITIALIZED ON CONSTRUCTION (or ever). </p>

<p class="definition">Definition at line <a class="el" href="clock__type__fwd_8hpp_source.html#l00198">198</a> of file <a class="el" href="clock__type__fwd_8hpp_source.html">clock_type_fwd.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="checkpt__timer_8cpp_source.html#l00189">flow::perf::Checkpointing_timer::now()</a>, <a class="el" href="clock__type_8cpp_source.html#l00048">flow::perf::operator+=()</a>, and <a class="el" href="clock__type_8cpp_source.html#l00026">operator-()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>perf/<a class="el" href="clock__type__fwd_8hpp_source.html">clock_type_fwd.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 28 2025 22:55:36 for Flow by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
</small></address>
</body>
</html>
